import 'package:flutter_ncsjqz_getx/generated/json/base/json_field.dart';
import 'package:flutter_ncsjqz_getx/generated/json/order_submit_entity.g.dart';

@JsonSerializable()
class OrderSubmitEntity {

	OrderSubmitEntity();

	factory OrderSubmitEntity.fromJson(Map<String, dynamic> json) => $OrderSubmitEntityFromJson(json);

	Map<String, dynamic> toJson() => $OrderSubmitEntityToJson(this);

  int? commodityCount;
  int? commodityId;
  double? orderActualTotal;
  int? orderAddressId;
  String? orderLogisticsNo;
  double? orderPayBatchTotal;
  double? orderReduceAmount;
  String? orderRemark;
  int? orderStatus;
  double? orderTotal;
  List<OrderSubmitOrderVo>? orderVos;
  @JSONField(serialize: false, deserialize: false)
  int? shopId;
  int? skuId;
  String? skuName;
  String? commodityName;
  String? masterPic;
  double? price;
  String? orderCouponId;
  bool? isCoupon;
}

@JsonSerializable()
class OrderSubmitOrderVo {

	OrderSubmitOrderVo();

	factory OrderSubmitOrderVo.fromJson(Map<String, dynamic> json) => $OrderSubmitOrderVoFromJson(json);

	Map<String, dynamic> toJson() => $OrderSubmitOrderVoToJson(this);

  int? commodityCount;
  int? commodityId;
  double? orderActualTotal;
  int? orderAddressId;
  String? orderLogisticsNo;
  double? orderPayBatchTotal;
  double? orderReduceAmount;
  String? orderRemark;
  int? orderStatus;
  double? orderTotal;
  int? shopId;
  int? skuId;
  String? skuName;
  String? commodityName;
  String? masterPic;
  double? price;
  String? orderCouponId;
  bool? isCoupon;
}
